﻿using Ducu.BLL.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ducu.BLL.NHMap
{
    class RegisterMap : EntityMap<Register>
    {
        public RegisterMap()
        {
            References(m => m.User);
            Map(m => m.UserName).Index("IX_Register_UserName");
            Map(m => m.Password);
            Map(m => m.AuthCode);
        }
    }
}
